package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

/**
 * @author CRG
 * @date :2023/12/14 10:06
 * @description:
 */
public class HomeCourseListApi implements IRequestApi {
    private String cate;
    private String type;
    private String essence_id;
    private String card_book_id;
    private String user_id;
    private Integer page;
    private Integer pageSize;

    public HomeCourseListApi setUser_id(String user_id) {
        this.user_id = user_id;
        return this;
    }

    public HomeCourseListApi setCate(String cate) {
        this.cate = cate;
        return this;
    }

    public HomeCourseListApi setType(String type) {
        this.type = type;
        return this;
    }

    public HomeCourseListApi setEssence_id(String essence_id) {
        this.essence_id = essence_id;
        return this;
    }

    public HomeCourseListApi setCard_book_id(String card_book_id) {
        this.card_book_id = card_book_id;
        return this;
    }

    public HomeCourseListApi setPage(Integer page) {
        this.page = page;
        return this;
    }

    public HomeCourseListApi setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/teach/v3/essenceCourse/essenceCourseList";
    }
    public static class Bean{

        private Integer id;
        private String title;
        private String thumb;
        private String ios_money;
        private String android_money;
        private Integer cate;
        private String cate_text;
        private Integer total_score;
        private Integer study_count;
        private Integer pay_status;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getIos_money() {
            return ios_money;
        }

        public void setIos_money(String ios_money) {
            this.ios_money = ios_money;
        }

        public String getAndroid_money() {
            return android_money;
        }

        public void setAndroid_money(String android_money) {
            this.android_money = android_money;
        }

        public Integer getCate() {
            return cate;
        }

        public void setCate(Integer cate) {
            this.cate = cate;
        }

        public String getCate_text() {
            return cate_text;
        }

        public void setCate_text(String cate_text) {
            this.cate_text = cate_text;
        }

        public Integer getTotal_score() {
            return total_score;
        }

        public void setTotal_score(Integer total_score) {
            this.total_score = total_score;
        }

        public Integer getStudy_count() {
            return study_count;
        }

        public void setStudy_count(Integer study_count) {
            this.study_count = study_count;
        }

        public Integer getPay_status() {
            return pay_status;
        }

        public void setPay_status(Integer pay_status) {
            this.pay_status = pay_status;
        }
    }
}
